import {handleActions} from 'redux-actions';

export const userState = handleActions({
    SET_USER: (state, action) => ({
        ...state,
        reduxUserInfo: action.payload
    }),
}, {
    reduxUserInfo: {
        nickName: "",
        email: "",
        phonenumber: "",
        avatar: "",
        address: "",
    }
});
